﻿// Configuration file for Wjs
define([
    'Wjs/core/cssLoader'
],
function (cssLoader) {
    'use strict';

    return {
        // Set the base path for the page
        basePath: '/Scripts/Wjs',

        // Theme support
        themesFolder: '/themes',
        // The default name of the teme
        defaultTheme: '/base/main.css',

        apply: function (conf) {
            var url = conf.basePath + conf.themesFolder + conf.defaultTheme;

            cssLoader.loadCss(url);

            // Set the debug flag
            this.debug = 'Debug';
            this.warn = 'Warning';
        }
    };
});